package jrain.fw.dao.common.manager;

import jrain.fw.core.dao.SqlRunner;
import jrain.fw.core.dao.SqlRunnerManger;
import jrain.fw.core.service.Service;
import jrain.fw.core.service.ServiceConst;
import jrain.fw.dao.common.runner.DefaultSqlRunner;

@Service(group=ServiceConst.S_DAO_SQL_RUNNER_MANAGER,module=ServiceConst.M_DAO)
public class DefaultSqlRunnerManger implements SqlRunnerManger {
	
	@Override
	public SqlRunner getSqlRunner(String dataSourceName) {
		return new DefaultSqlRunner(dataSourceName);
	}
}